package com.ruoyi.worker.service.v2;

import com.ruoyi.worker.domain.v2.*;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

public interface RzAttendanceSumDailyRecordDetailV2Service {

    /**
     * @author: 陈宇寰
     * @date: 2021-12-30 11:34:52
     * @params:
     * @return:
     * @description: 详情统计
     */
    Map<String, Integer> detailStatistics(String date, Integer groupId, Integer deptId, Integer signType);

    /**
     * @author: 陈宇寰
     * @date: 2022-01-03 20:58:22
     * @params:
     * @return:
     * @description: 日考勤明细
     */
    List<RzAttendanceSumDailyDetailV2VO> detailStatistics2(RzAttendanceSumDailyDetailQueryParameterVO vo);

    /**
     * @author: 陈宇寰
     * @date: 2022-01-03 20:59:11
     * @params:
     * @return:
     * @description: 考勤调整
     */
    void updateAttendanceDaily(List<RzAttendanceSumDailyDetailUpdateVO> params);

    /**
     * @author: 陈宇寰
     * @date: 2022-01-04 09:50:26
     * @params:
     * @return:
     * @description: 查询历史记录
     */
    List<RzAttendanceSumDailyRecordDetailHistoryV2Domain> histories(String date, List<String> idCards);

    /**
    * @author: 陈宇寰
    * @date: 2022-01-04 10:48:44
    * @params:
    * @return:
    * @description: 打卡明细
    */
    List<Map<String, String>> cardDetails(String date, List<String> idCards);

    /**
    * @author: 陈宇寰
    * @date: 2022-01-13 10:46:28
    * @params:
    * @return:
    * @description: 某日所有打卡时间
    */
    List<DailySignTimesVO> signTimes(String date) throws ParseException;
}
